Built-up Index · Urban Mapping

NDBI – Normalized Difference Built-up Index

NDBI is an urban index designed to enhance built-up areas by contrasting SWIR and NIR reflectance. It is widely used for urban expansion, impervious surface and city growth mapping.

1. Scientific Definition

The Normalized Difference Built-up Index (NDBI) uses the higher reflectance of built-up and impervious surfaces in the SWIR region compared to NIR to highlight urban areas.

Formula

NDBI = (SWIR − NIR) / (SWIR + NIR) Range: −1 → +1

  • NIR – Near InfraRed reflectance
  • SWIR – Short-Wave InfraRed reflectance

Typical Interpretation

NDBIInterpretation
< 0Water, vegetation, non-built-up
0 – 0.2Mixed pixels / low-density built-up
0.2 – 0.4Moderate built-up / suburban
> 0.4Dense urban / impervious surfaces

Main Applications

  • Urban expansion mapping
  • Built-up vs non-built-up classification
  • Impervious surface analysis
  • Urban growth and planning studies

2. Data & Bands

Sentinel-2 (Recommended)

  • NIR: B8 (~842 nm)
  • SWIR (SWIR1): B11 (~1610 nm)

Landsat 8 / 9

  • NIR: B5
  • SWIR1: B6

Best Practices

  • Use surface reflectance products (SR).
  • Mask clouds & cloud shadows using QA bands.
  • Combine NDBI with NDVI / MNDWI to separate urban from bare soil and water.
  • Use thresholding or clustering to classify built-up areas.

Suggested Palette

[ "#08141f", "#253858", "#3c6ea6", "#6baed6", "#b3e2ff", "#f7fbff" ]

3. Google Earth Engine Code – NDBI (SWIR–NIR)

// NDBI using Sentinel-2 SR
// NDBI = (SWIR - NIR) / (SWIR + NIR)
// Here: SWIR = B11, NIR = B8

var roi = geometry;   // Draw AOI as 'geometry'
Map.centerObject(roi, 11);

// 1. Load Sentinel-2 surface reflectance
var s2 = ee.ImageCollection("COPERNICUS/S2_SR")
  .filterBounds(roi)
  .filterDate("2023-01-01", "2023-12-31")
  .filter(ee.Filter.lt("CLOUDY_PIXEL_PERCENTAGE", 20))
  .select(["B8","B11"]); // NIR, SWIR

// 2. Median composite
var img = s2.median().clip(roi);

// 3. Compute NDBI
var ndbi = img.expression(
  "(S - N) / (S + N)",
  {
    "S": img.select("B11"), // SWIR
    "N": img.select("B8")   // NIR
  }
).rename("NDBI");

// 4. Visualization
var vis = {
  min: -1,
  max: 1,
  palette: ["#08141f","#253858","#3c6ea6","#6baed6","#b3e2ff","#f7fbff"]
};

Map.addLayer(ndbi, vis, "NDBI (SWIR-NIR)");

// Optional: threshold for built-up (e.g. NDBI > 0.2)
var builtup = ndbi.gt(0.2).selfMask();
Map.addLayer(builtup, {palette:["#ffcc00"]}, "Built-up Mask (NDBI > 0.2)", false);

// 5. Export NDBI as GeoTIFF
Export.image.toDrive({
  image: ndbi,
  description: "NDBI_Export",
  fileNamePrefix: "NDBI_SWIR_NIR",
  region: roi,
  scale: 20,        // SWIR band resolution
  crs: "EPSG:4326",
  maxPixels: 1e13
});